\hypertarget{structwickr__transport__callbacks}{}\section{wickr\+\_\+transport\+\_\+callbacks Struct Reference}
\label{structwickr__transport__callbacks}\index{wickr\_transport\_callbacks@{wickr\_transport\_callbacks}}


callbacks to notify the user of events within the transport  




{\ttfamily \#include $<$transport\+\_\+ctx.\+h$>$}

\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
wickr\+\_\+transport\+\_\+tx\+\_\+func \mbox{\hyperlink{structwickr__transport__callbacks_a06c4b21b847c00e92373cf1402e1cb9d}{tx}}
\item 
wickr\+\_\+transport\+\_\+rx\+\_\+func \mbox{\hyperlink{structwickr__transport__callbacks_a5d523402980ac09fdf52aa4824f8e9f7}{rx}}
\item 
wickr\+\_\+transport\+\_\+state\+\_\+change\+\_\+func \mbox{\hyperlink{structwickr__transport__callbacks_afef0716506b88885c57fda652500b3da}{on\+\_\+state}}
\item 
wickr\+\_\+transport\+\_\+validate\+\_\+identity\+\_\+func \mbox{\hyperlink{structwickr__transport__callbacks_ab1afc16797b1bb30dde87936a97f682e}{on\+\_\+identity\+\_\+verify}}
\item 
wickr\+\_\+transport\+\_\+psk\+\_\+func \mbox{\hyperlink{structwickr__transport__callbacks_af01227bfe19f056de55669d79ed7c120}{on\+\_\+psk\+\_\+required}}
\item 
wickr\+\_\+transport\+\_\+tx\+\_\+stream\+\_\+func \mbox{\hyperlink{structwickr__transport__callbacks_a1b6ee026d404a5b267e0c680dc9c2337}{on\+\_\+tx\+\_\+stream\+\_\+gen}}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
callbacks to notify the user of events within the transport 

\subsection{Field Documentation}
\mbox{\Hypertarget{structwickr__transport__callbacks_ab1afc16797b1bb30dde87936a97f682e}\label{structwickr__transport__callbacks_ab1afc16797b1bb30dde87936a97f682e}} 
\index{wickr\_transport\_callbacks@{wickr\_transport\_callbacks}!on\_identity\_verify@{on\_identity\_verify}}
\index{on\_identity\_verify@{on\_identity\_verify}!wickr\_transport\_callbacks@{wickr\_transport\_callbacks}}
\subsubsection{\texorpdfstring{on\_identity\_verify}{on\_identity\_verify}}
{\footnotesize\ttfamily wickr\+\_\+transport\+\_\+callbacks\+::on\+\_\+identity\+\_\+verify}

Called when no remote data is provided for pinning, so the identity of the remote needs to be verified by the application \mbox{\Hypertarget{structwickr__transport__callbacks_af01227bfe19f056de55669d79ed7c120}\label{structwickr__transport__callbacks_af01227bfe19f056de55669d79ed7c120}} 
\index{wickr\_transport\_callbacks@{wickr\_transport\_callbacks}!on\_psk\_required@{on\_psk\_required}}
\index{on\_psk\_required@{on\_psk\_required}!wickr\_transport\_callbacks@{wickr\_transport\_callbacks}}
\subsubsection{\texorpdfstring{on\_psk\_required}{on\_psk\_required}}
{\footnotesize\ttfamily wickr\+\_\+transport\+\_\+callbacks\+::on\+\_\+psk\+\_\+required}

Called when the inbound key exchange requires a psk \mbox{\Hypertarget{structwickr__transport__callbacks_afef0716506b88885c57fda652500b3da}\label{structwickr__transport__callbacks_afef0716506b88885c57fda652500b3da}} 
\index{wickr\_transport\_callbacks@{wickr\_transport\_callbacks}!on\_state@{on\_state}}
\index{on\_state@{on\_state}!wickr\_transport\_callbacks@{wickr\_transport\_callbacks}}
\subsubsection{\texorpdfstring{on\_state}{on\_state}}
{\footnotesize\ttfamily wickr\+\_\+transport\+\_\+callbacks\+::on\+\_\+state}

Called whenever the state of the transport context is updated \mbox{\Hypertarget{structwickr__transport__callbacks_a1b6ee026d404a5b267e0c680dc9c2337}\label{structwickr__transport__callbacks_a1b6ee026d404a5b267e0c680dc9c2337}} 
\index{wickr\_transport\_callbacks@{wickr\_transport\_callbacks}!on\_tx\_stream\_gen@{on\_tx\_stream\_gen}}
\index{on\_tx\_stream\_gen@{on\_tx\_stream\_gen}!wickr\_transport\_callbacks@{wickr\_transport\_callbacks}}
\subsubsection{\texorpdfstring{on\_tx\_stream\_gen}{on\_tx\_stream\_gen}}
{\footnotesize\ttfamily wickr\+\_\+transport\+\_\+callbacks\+::on\+\_\+tx\+\_\+stream\+\_\+gen}

Called when a tx stream is generated for a outbound key exchanges \mbox{\Hypertarget{structwickr__transport__callbacks_a5d523402980ac09fdf52aa4824f8e9f7}\label{structwickr__transport__callbacks_a5d523402980ac09fdf52aa4824f8e9f7}} 
\index{wickr\_transport\_callbacks@{wickr\_transport\_callbacks}!rx@{rx}}
\index{rx@{rx}!wickr\_transport\_callbacks@{wickr\_transport\_callbacks}}
\subsubsection{\texorpdfstring{rx}{rx}}
{\footnotesize\ttfamily wickr\+\_\+transport\+\_\+callbacks\+::rx}

Called when a buffer passed to wickr\+\_\+transport\+\_\+ctx\+\_\+process\+\_\+rx\+\_\+buffer is decoded \mbox{\Hypertarget{structwickr__transport__callbacks_a06c4b21b847c00e92373cf1402e1cb9d}\label{structwickr__transport__callbacks_a06c4b21b847c00e92373cf1402e1cb9d}} 
\index{wickr\_transport\_callbacks@{wickr\_transport\_callbacks}!tx@{tx}}
\index{tx@{tx}!wickr\_transport\_callbacks@{wickr\_transport\_callbacks}}
\subsubsection{\texorpdfstring{tx}{tx}}
{\footnotesize\ttfamily wickr\+\_\+transport\+\_\+callbacks\+::tx}

Called when a buffer passed to wickr\+\_\+transport\+\_\+ctx\+\_\+process\+\_\+tx\+\_\+buffer is encoded and ready for sending 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/wickrcrypto/include/wickrcrypto/transport\+\_\+ctx.\+h\end{DoxyCompactItemize}
